<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

	<h:head> </h:head>
	
	<h:body> 
	
	<h:form>
    <p:dataTable var="usuario" value="#{UsuarioMB.usuarios}" rows="10"
                         paginator="true"
                         paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
                         rowsPerPageTemplate="5,10,15">
        <p:column headerText="Id">
            <h:outputText value="#{usuario.id}" />
        </p:column>
 
        <p:column headerText="Nome">
            <h:outputText value="#{usuario.nome}" />
        </p:column>
 
        <p:column headerText="E-mail">
            <h:outputText value="#{usuario.email}" />
        </p:column>
 
        <p:column headerText="Descrição Usuário">
            <h:outputText value="#{usuario.descricao}" />
        </p:column>
        <p:column headerText="Data do Cadastro">
            <h:outputText value="#{usuario.dataCadastro}" />
        </p:column>
    </p:dataTable>
</h:form>
	
	</h:body>


</html>